/*
 * MesoscopicNetworkBuilder.h
 *
 *  Created on: 21/11/2011
 *      Author: godinho
 */

#ifndef MESOSCOPICNETWORKBUILDER_H_
#define MESOSCOPICNETWORKBUILDER_H_

class Network;

namespace localview {
class Network;
class Edge;
class Link;
class Node;
}

class MesoscopicNetworkBuilder {
public:
	MesoscopicNetworkBuilder();
	virtual ~MesoscopicNetworkBuilder();

	Network* lvNetwork2Mesoscopic(localview::Network* net);

private:
	int calcTravelTime(localview::Edge* e);

	int getFlush(localview::Node* node, localview::Link* link, localview::Network* net);

private:
	Network* mMesNet;
};

#endif /* MESOSCOPICNETWORKBUILDER_H_ */
